<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Class: Block</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

    <h1 class="page-title">Class: Block</h1>

    




<section>

<header>
    
        <h2><span class="attribs"><span class="type-signature"></span></span>
            <span class="ancestors"><a href="rep.html">rep</a><a href="rep.protos.html">.protos</a>.</span>Block<span class="signature">(properties<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h2>
        
            <div class="class-description">Represents a Block.</div>
        
    
</header>

<article>
    <div class="container-overview">
    
        

    
    <h2>Constructor</h2>
    

    
    <h4 class="name" id="Block"><span class="type-signature"></span>new Block<span class="signature">(properties<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
    

    



<div class="description">
    Constructs a new Block.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>properties</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="rep.protos.IBlock.html">rep.protos.IBlock</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last">Properties to set</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    
    <dt class="implements">Implements:</dt>
    <dd class="implements"><ul>
        
            <li>IBlock</li>
        
    </ul></dd>
    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2564">line 2564</a>
    </li></ul></dd>
    

    

    

    
</dl>


















    
    </div>

    

    

    

    

    

    

    
        <h3 class="subsection-title">Members</h3>

        
            
<h4 class="name" id="endorsements"><span class="type-signature"></span>endorsements<span class="type-signature"> :Array.&lt;<a href="rep.protos.ISignature.html">rep.protos.ISignature</a>></span></h4>




<div class="description">
    Block endorsements.
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Array.&lt;<a href="rep.protos.ISignature.html">rep.protos.ISignature</a>></span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2622">line 2622</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="hashOfBlock"><span class="type-signature"></span>hashOfBlock<span class="type-signature"> :Uint8Array</span></h4>




<div class="description">
    Block hashOfBlock.
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Uint8Array</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2606">line 2606</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="height"><span class="type-signature"></span>height<span class="type-signature"> :number|Long</span></h4>




<div class="description">
    Block height.
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">number</span>
|

<span class="param-type">Long</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2582">line 2582</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="previousBlockHash"><span class="type-signature"></span>previousBlockHash<span class="type-signature"> :Uint8Array</span></h4>




<div class="description">
    Block previousBlockHash.
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Uint8Array</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2614">line 2614</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="stateHash"><span class="type-signature"></span>stateHash<span class="type-signature"> :Uint8Array</span></h4>




<div class="description">
    Block stateHash.
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Uint8Array</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2630">line 2630</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="transactionResults"><span class="type-signature"></span>transactionResults<span class="type-signature"> :Array.&lt;<a href="rep.protos.ITransactionResult.html">rep.protos.ITransactionResult</a>></span></h4>




<div class="description">
    Block transactionResults.
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Array.&lt;<a href="rep.protos.ITransactionResult.html">rep.protos.ITransactionResult</a>></span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2598">line 2598</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="transactions"><span class="type-signature"></span>transactions<span class="type-signature"> :Array.&lt;<a href="rep.protos.ITransaction.html">rep.protos.ITransaction</a>></span></h4>




<div class="description">
    Block transactions.
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Array.&lt;<a href="rep.protos.ITransaction.html">rep.protos.ITransaction</a>></span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2590">line 2590</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="version"><span class="type-signature"></span>version<span class="type-signature"> :number</span></h4>




<div class="description">
    Block version.
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">number</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2574">line 2574</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
    

    
        <h3 class="subsection-title">Methods</h3>

        
            

    

    
    <h4 class="name" id=".create"><span class="type-signature">(static) </span>create<span class="signature">(properties<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {<a href="rep.protos.Block.html">rep.protos.Block</a>}</span></h4>
    

    



<div class="description">
    Creates a new Block instance using the specified properties.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>properties</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="rep.protos.IBlock.html">rep.protos.IBlock</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last">Properties to set</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2638">line 2638</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    Block instance
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="rep.protos.Block.html">rep.protos.Block</a></span>


    </dd>
</dl>

    





        
            

    

    
    <h4 class="name" id=".decode"><span class="type-signature">(static) </span>decode<span class="signature">(reader, length<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {<a href="rep.protos.Block.html">rep.protos.Block</a>}</span></h4>
    

    



<div class="description">
    Decodes a Block message from the specified reader or buffer.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reader</code></td>
            

            <td class="type">
            
                
<span class="param-type">$protobuf.Reader</span>
|

<span class="param-type">Uint8Array</span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            

            <td class="description last">Reader or buffer to decode from</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>length</code></td>
            

            <td class="type">
            
                
<span class="param-type">number</span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last">Message length if known beforehand</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2697">line 2697</a>
    </li></ul></dd>
    

    

    

    
</dl>











<h5>Throws:</h5>
<ul>
        <li>

<dl>
    <dt>
        <div class="param-desc">
        If the payload is not a reader or valid buffer
        </div>
    </dt>
    <dd></dd>
    <dt>
        <dl>
            <dt>
                Type
            </dt>
            <dd>
                
<span class="param-type">Error</span>


            </dd>
        </dl>
    </dt>
    <dd></dd>
</dl>

</li>
    
        <li>

<dl>
    <dt>
        <div class="param-desc">
        If required fields are missing
        </div>
    </dt>
    <dd></dd>
    <dt>
        <dl>
            <dt>
                Type
            </dt>
            <dd>
                
<span class="param-type">$protobuf.util.ProtocolError</span>


            </dd>
        </dl>
    </dt>
    <dd></dd>
</dl>

</li>
    </ul>


<h5>Returns:</h5>

        
<div class="param-desc">
    Block
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="rep.protos.Block.html">rep.protos.Block</a></span>


    </dd>
</dl>

    





        
            

    

    
    <h4 class="name" id=".decodeDelimited"><span class="type-signature">(static) </span>decodeDelimited<span class="signature">(reader)</span><span class="type-signature"> &rarr; {<a href="rep.protos.Block.html">rep.protos.Block</a>}</span></h4>
    

    



<div class="description">
    Decodes a Block message from the specified reader or buffer, length delimited.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reader</code></td>
            

            <td class="type">
            
                
<span class="param-type">$protobuf.Reader</span>
|

<span class="param-type">Uint8Array</span>


            
            </td>

            

            

            <td class="description last">Reader or buffer to decode from</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2753">line 2753</a>
    </li></ul></dd>
    

    

    

    
</dl>











<h5>Throws:</h5>
<ul>
        <li>

<dl>
    <dt>
        <div class="param-desc">
        If the payload is not a reader or valid buffer
        </div>
    </dt>
    <dd></dd>
    <dt>
        <dl>
            <dt>
                Type
            </dt>
            <dd>
                
<span class="param-type">Error</span>


            </dd>
        </dl>
    </dt>
    <dd></dd>
</dl>

</li>
    
        <li>

<dl>
    <dt>
        <div class="param-desc">
        If required fields are missing
        </div>
    </dt>
    <dd></dd>
    <dt>
        <dl>
            <dt>
                Type
            </dt>
            <dd>
                
<span class="param-type">$protobuf.util.ProtocolError</span>


            </dd>
        </dl>
    </dt>
    <dd></dd>
</dl>

</li>
    </ul>


<h5>Returns:</h5>

        
<div class="param-desc">
    Block
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="rep.protos.Block.html">rep.protos.Block</a></span>


    </dd>
</dl>

    





        
            

    

    
    <h4 class="name" id=".encode"><span class="type-signature">(static) </span>encode<span class="signature">(message, writer<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {$protobuf.Writer}</span></h4>
    

    



<div class="description">
    Encodes the specified Block message. Does not implicitly <a href="rep.protos.Block.html#.verify">verify</a> messages.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>message</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="rep.protos.IBlock.html">rep.protos.IBlock</a></span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            

            <td class="description last">Block message or plain object to encode</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>writer</code></td>
            

            <td class="type">
            
                
<span class="param-type">$protobuf.Writer</span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last">Writer to encode to</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2650">line 2650</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    Writer
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">$protobuf.Writer</span>


    </dd>
</dl>

    





        
            

    

    
    <h4 class="name" id=".encodeDelimited"><span class="type-signature">(static) </span>encodeDelimited<span class="signature">(message, writer<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {$protobuf.Writer}</span></h4>
    

    



<div class="description">
    Encodes the specified Block message, length delimited. Does not implicitly <a href="rep.protos.Block.html#.verify">verify</a> messages.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>message</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="rep.protos.IBlock.html">rep.protos.IBlock</a></span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            

            <td class="description last">Block message or plain object to encode</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>writer</code></td>
            

            <td class="type">
            
                
<span class="param-type">$protobuf.Writer</span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last">Writer to encode to</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2684">line 2684</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    Writer
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">$protobuf.Writer</span>


    </dd>
</dl>

    





        
            

    

    
    <h4 class="name" id=".fromObject"><span class="type-signature">(static) </span>fromObject<span class="signature">(object)</span><span class="type-signature"> &rarr; {<a href="rep.protos.Block.html">rep.protos.Block</a>}</span></h4>
    

    



<div class="description">
    Creates a Block message from a plain object. Also converts values to their respective internal types.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>object</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object.&lt;string, *></span>


            
            </td>

            

            

            <td class="description last">Plain object</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2825">line 2825</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    Block
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="rep.protos.Block.html">rep.protos.Block</a></span>


    </dd>
</dl>

    





        
            

    

    
    <h4 class="name" id=".toObject"><span class="type-signature">(static) </span>toObject<span class="signature">(message, options<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Object.&lt;string, *>}</span></h4>
    

    



<div class="description">
    Creates a plain object from a Block message. Also converts values to other types if specified.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>message</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="rep.protos.Block.html">rep.protos.Block</a></span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            

            <td class="description last">Block</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>options</code></td>
            

            <td class="type">
            
                
<span class="param-type">$protobuf.IConversionOptions</span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last">Conversion options</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2896">line 2896</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    Plain object
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">Object.&lt;string, *></span>


    </dd>
</dl>

    





        
            

    

    
    <h4 class="name" id=".verify"><span class="type-signature">(static) </span>verify<span class="signature">(message)</span><span class="type-signature"> &rarr; {string|null}</span></h4>
    

    



<div class="description">
    Verifies a Block message.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>message</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object.&lt;string, *></span>


            
            </td>

            

            

            <td class="description last">Plain object to verify</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2769">line 2769</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    `null` if valid, otherwise the reason why it is not
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">string</span>
|

<span class="param-type">null</span>


    </dd>
</dl>

    





        
            

    

    
    <h4 class="name" id="toJSON"><span class="type-signature"></span>toJSON<span class="signature">()</span><span class="type-signature"> &rarr; {Object.&lt;string, *>}</span></h4>
    

    



<div class="description">
    Converts this Block to JSON.
</div>













<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="protos_peer.js.html">protos/peer.js</a>, <a href="protos_peer.js.html#line2974">line 2974</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    JSON object
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">Object.&lt;string, *></span>


    </dd>
</dl>

    





        
    

    

    
</article>

</section>




</div>

<nav>
    <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="EventTube.html">EventTube</a></li><li><a href="google.protobuf.Timestamp.html">Timestamp</a></li><li><a href="rep.protos.ActionResult.html">ActionResult</a></li><li><a href="rep.protos.Block.html">Block</a></li><li><a href="rep.protos.BlockchainInfo.html">BlockchainInfo</a></li><li><a href="rep.protos.CertId.html">CertId</a></li><li><a href="rep.protos.Certificate.html">Certificate</a></li><li><a href="rep.protos.ChaincodeDeploy.html">ChaincodeDeploy</a></li><li><a href="rep.protos.ChaincodeId.html">ChaincodeId</a></li><li><a href="rep.protos.ChaincodeInput.html">ChaincodeInput</a></li><li><a href="rep.protos.Event.html">Event</a></li><li><a href="rep.protos.OperLog.html">OperLog</a></li><li><a href="rep.protos.Signature.html">Signature</a></li><li><a href="rep.protos.Signer.html">Signer</a></li><li><a href="rep.protos.Transaction.html">Transaction</a></li><li><a href="rep.protos.TransactionResult.html">TransactionResult</a></li><li><a href="RestAPI.html">RestAPI</a></li><li><a href="Transaction.html">Transaction</a></li></ul><h3>Namespaces</h3><ul><li><a href="google.html">google</a></li><li><a href="google.protobuf.html">protobuf</a></li><li><a href="rep.html">rep</a></li><li><a href="rep.protos.html">protos</a></li></ul><h3>Interfaces</h3><ul><li><a href="google.protobuf.ITimestamp.html">ITimestamp</a></li><li><a href="rep.protos.IActionResult.html">IActionResult</a></li><li><a href="rep.protos.IBlock.html">IBlock</a></li><li><a href="rep.protos.IBlockchainInfo.html">IBlockchainInfo</a></li><li><a href="rep.protos.ICertId.html">ICertId</a></li><li><a href="rep.protos.ICertificate.html">ICertificate</a></li><li><a href="rep.protos.IChaincodeDeploy.html">IChaincodeDeploy</a></li><li><a href="rep.protos.IChaincodeId.html">IChaincodeId</a></li><li><a href="rep.protos.IChaincodeInput.html">IChaincodeInput</a></li><li><a href="rep.protos.IEvent.html">IEvent</a></li><li><a href="rep.protos.IOperLog.html">IOperLog</a></li><li><a href="rep.protos.ISignature.html">ISignature</a></li><li><a href="rep.protos.ISigner.html">ISigner</a></li><li><a href="rep.protos.ITransaction.html">ITransaction</a></li><li><a href="rep.protos.ITransactionResult.html">ITransactionResult</a></li></ul><h3>Global</h3><ul><li><a href="global.html#CalculateAddr">CalculateAddr</a></li><li><a href="global.html#CreateCertificate">CreateCertificate</a></li><li><a href="global.html#CreateCSR">CreateCSR</a></li><li><a href="global.html#CreateKeypair">CreateKeypair</a></li><li><a href="global.html#CreateSelfSignedCertificate">CreateSelfSignedCertificate</a></li><li><a href="global.html#GetCSRInfoFromPEM">GetCSRInfoFromPEM</a></li><li><a href="global.html#GetHashVal">GetHashVal</a></li><li><a href="global.html#GetKeyPEM">GetKeyPEM</a></li><li><a href="global.html#ImportCertificate">ImportCertificate</a></li><li><a href="global.html#ImportKey">ImportKey</a></li><li><a href="global.html#Sign">Sign</a></li><li><a href="global.html#VerifyCertificateSignature">VerifyCertificateSignature</a></li><li><a href="global.html#VerifySign">VerifySign</a></li></ul>
</nav>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Sep 27 2020 14:15:58 GMT+0800 (China Standard Time)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>